package architect.design.patterns.structural.composite.complex;

import java.util.List;

/**
 * 雇员
 *
 * @author guanxin
 * @date 2018/5/5 15:37
 */

public interface IEmployee {

    String getName();

    void setName(String name);

    int getEmployeeId();

    void setEmployeeId(int employeeId);

    List<Subscription> getSubscriptions();

    void setSubscriptions(List<Subscription> subscriptions);

    double getCost();

    int getSubscriptionCount(SubscriptionType type);
}
